home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08BIN.ZIP / usr / include / db / DBRecord.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-13  |  590 b   |  39 lines

  1. #ifndef _DBRECORD_H_
  2. #define _DBRECORD_H_
  3.  
  4. #ifndef _DBFILE_H_
  5. #include "DBFile.h"
  6. #endif
  7.  
  8. @interface DBRecord : Object
  9. {
  10.   DBFile   *entity;
  11.   long      recNo;
  12.   id        fieldList;
  13.   BOOL      changed;
  14. }
  15.  
  16. - initForEntity: (DBFile *) anEntity;
  17. - free;
  18.  
  19. - replace;
  20.  
  21. - saveChanges: sender;
  22.  
  23. - setChanged: (BOOL) value;
  24. - (BOOL) changed;
  25.  
  26. -field: (int) fieldNumber;
  27. -(int) fieldCount;
  28.  
  29. - (long) recNo;
  30. - copyToDB;
  31. - copyFromDB;
  32.  
  33. -setFieldData: (unsigned long) field withString: (char *) aString;
  34. -(char *) fieldData: (unsigned long) field;
  35.  
  36. @end
  37.  
  38. #endif
  39.